package com.stenio.fancat.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 活动操作日志表实体类
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("fc_act_oper_log")
public class ActOperLog extends BaseEntity {

	/** 序列化ID */
	private static final long serialVersionUID = -335065550636081285L;
	/** 自增主键 */
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;
	@TableField("user_id")
	private Integer userId;
	@TableField("act_type_id")
	private Integer actTypeId;
	@TableField("act_id")
	private Integer actId;
	@TableField("brand_id")
	private Integer brandId;
	/** 0点击，1转发，2点赞 **/
	@TableField("oper_type")
	private Integer operType;
	@TableField("reward")
	private Integer reward;
	@TableField("ipAddr")
	private String ipAddr;
	/** 是否已读0已读，1未读 **/
	@TableField("read")
	private Integer read;

	public static final String ID = "id";
	public static final String USER_ID = "user_id";
	public static final String OPER_TYPE = "oper_type";
	public static final String ACT_ID = "act_id";
	public static final String REWARD = "reward";
	public static final String IPADDR = "ipAddr";
	public static final String READ = "read";

}